
<link type="text/css" href="inc/rl.css" rel="stylesheet">

<fieldset><legend>部门信息</legend>
<table>
	<tr>
		<td align="right" width="20%">名称：</td>
		<td>{[$dept.name]}</td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td>{[$dept.content|nl2br]}</td>
	</tr>
</table>
</fieldset>

<fieldset><legend>分配用户</legend>
<form id="form_edit"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table id="priv_add">
	<tr>
		<td colspan="3" align="left">查找：<input type="text" name="search" id="search" value="" size="16" /></td>
	</tr>
	<tr>
		<td align="center" width="45%">未分配用户</td>
		<td width="10%"></td>
		<td align="center" width="45%">已分配用户</td>
	</tr>
	<tr>
		<td height="255px" align="center"><select multiple="multiple" name="list[]" id="list"
			style="height: 100%; width: 100%;">
			{[foreach name=outer key=key item=item from=$result_all]}
			<option value="{[$item.id]}"{[$item.class]}>{[$item.no]}.{[$item.name]} [{[$item.zjm]}/{[$item.job]}]</option>
			{[/foreach]}
		</select></td>
		<td align="center" height="180px">
		<div id="rl"><a href="#" id="addT" class="button">&raquo;</a><br>
		<a href="#" id="addAllT" class="button">&raquo;&raquo;</a><br>
		<a href="#" id="removeT" class="button">&laquo;</a><br>
		<a href="#" id="removeAllT" class="button">&laquo;&laquo;</a></div>
		</td>
		<td height="255px" align="center"><select multiple="multiple" name="emp[]" id="emp" style="height: 100%; width: 100%;">
			{[foreach name=outer key=key item=item from=$result]}
			<option value="{[$item.id]}">{[$item.no]}.{[$item.name]} [{[$item.zjm]}/{[$item.job]}]</option>
			{[/foreach]}
		</select></td>
	</tr>
</table>
</form>
</fieldset>

<script type='text/javascript' src='js/info/service/emp.js?r={[$smarty.now]}'></script>
